<template>
    <div class="console-product">
        <div class="console-product-body">
            <router-view></router-view>
        </div>
        <div class="layout-footer noprint">
            2017  © 酷特智能股份有限公司
        </div>
    </div>
</template>
<script>
    export default {
        data () {
            return {

            }
        },
        components: {

        },
        created: function () {
            var width = window.innerWidth;
            if(width >1600){
                $(".console-body").css({top:70})
            }else if(width > 1440 && width <=1600){
                $(".console-body").css({top:58})
            }else if(width > 1366 && width <=1440){
                $(".console-body").css({top:54})
            }else if(width > 1280 && width <=1366){
                $(".console-body").css({top:50})
            }else if(width > 1024 && width <=1280){
                $(".console-body").css({top:47})
            }else{
                $(".console-body").css({top:37})
            }
        },
        methods: {
        }
    }
</script>